<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>监控中心</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
{% include "_include.html"%}
</head>
<body style="margin: 60px;">
	<select name="type" class="form-control pull-left" style="width: 100px">
		<option value="deploy_www">部署官网</option>
		<option value="deploy_monitor">部署监控中心</option>
		<option value="deploy_nginx">重启nginx</option>
</select>
<a class="btn btn-default" onclick="reloadDeploy()" style="margin-left: 20px">执行命令</a>
<div id="log"></div>
<script type="text/javascript">
	function reloadDeploy(){
		
		$.get("/index/reload_deploy",{},function(data){
			$("#log").html(data);
		});
		
	}
</script>
</body>
</html>